<?php

namespace Modules\Common\Models\Validation;


/**
 *@property int $id
 *@property int $sid
 *@property int $eid
 *@property string $desc
 *@property int $status
 *@property int $admin_id
 *@property string $admin_name
 *@property string $created_at
 *@property string $updated_at
 *@property string $deleted_at
 */
trait TrashValidation 
{


    public function createRules()
    {
         return [
            'rules' => [
                'desc'=>'between:0,255',
                'status'=>'integer|in:0,1,2',
                'admin_id'=>'integer',
                'admin_name'=>'between:0,255',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }

    public function updateRules()
    {
         return [
            'rules' => [
                'desc'=>'between:0, 255',
                'status'=>'integer|in:0,1,2',
                'admin_id'=>'integer',
                'admin_name'=>'between:0, 255',
                
            ],
            'messages' => [
            ],
            'customAttributes' => [
            ]
        ];
    }


}
